package com.bosssoft.itfinance.citizen.demo.biz.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.bosssoft.itfinance.citizen.demo.common.mybatis.base.BsBaseEntity;

import java.util.Date;


/**
 * <p>
 * 权限信息表
 * </p>
 *
 * @author wangml
 * @since 2017-08-29
 */
@TableName("citizen_permission")
public class Permission extends BsBaseEntity {

    private static final long serialVersionUID = 1L;

	private String id;
	private String url;
	@TableField("permission_name")
	private String permissionName;
	private String state;
	@TableField("create_time")
	private Date createTime;
	@TableField("create_user")
	private String createUser;
    /**
     * 1菜单 2功能 3接口
     */
	private String type;
	private String pid;
	@TableField("permission_icon")
	private String permissionIcon;
	@TableField("permission_code")
	private String permissionCode;
    /**
     * 排序信息
     */
	private Integer seqnum;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPermissionName() {
		return permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPermissionIcon() {
		return permissionIcon;
	}

	public void setPermissionIcon(String permissionIcon) {
		this.permissionIcon = permissionIcon;
	}

	public String getPermissionCode() {
		return permissionCode;
	}

	public void setPermissionCode(String permissionCode) {
		this.permissionCode = permissionCode;
	}

	public Integer getSeqnum() {
		return seqnum;
	}

	public void setSeqnum(Integer seqnum) {
		this.seqnum = seqnum;
	}

	public static final String ID = "id";

	public static final String URL = "url";

	public static final String PERMISSION_NAME = "permission_name";

	public static final String STATE = "state";

	public static final String CREATE_TIME = "create_time";

	public static final String CREATE_USER = "create_user";

	public static final String TYPE = "type";

	public static final String PID = "pid";

	public static final String PERMISSION_ICON = "permission_icon";

	public static final String PERMISSION_CODE = "permission_code";

	public static final String SEQNUM = "seqnum";

}
